Nextinv
  Home FAQ Contact Sign in
 
Advanced search
MATCHING GROUPS



more...
POPULAR GROUPS

more...

found 11 articles for 0.302 sec
We store customers' goods and bill them quarterly for this, based on unit prices and quantities etc that are all held in our database. Each storage job is a separate record, containing date fields such as LastInvFrom and LastInvTo, and NextInvFrom and NextInvTo, and NextInvDueDate. I have a query (QryStgBilling) that picks out all the jobs that are going to become due for next billing within     

Group: microsoft.public.access · Group Profile · Search for Nextinv in microsoft.public.access
Author: CW
Date: Sep 10, 2008 05:48

Have been studying your reply and my entries and I w3as missing a ! Have now entered and it works fine Tks "Douglas J. Steele" wrote: Assuming that CProp, CPO, invdate, curamt, curnote, nextinv and curstatus are variables, you have to put them outside of the quotes so that their values will be put into strSQL: strSQL = "INSERT INTO WorkOrder(Property,PONo,Workdate,totalamt
Show full article (2.07Kb)
it appears nearly fixed It errors as follows Run time Error 3075 Syntax error in Query expression 'Clean all outside windows' the table has wknotes set as text and curnotes is set as a string the wording "Clean all etc" is what is on the schedule list so is the correct answers to put into the workorder table "Douglas J. Steele" wrote: > Assuming that CProp, CPO, invdate, curamt     

Group: microsoft.public.access · Group Profile · Search for Nextinv in microsoft.public.access
Author: Nylex
Date: Aug 16, 2008 23:40

Assuming that CProp, CPO, invdate, curamt, curnote, nextinv and curstatus are variables, you have to put them outside of the quotes so that their values will be put into strSQL: strSQL = "INSERT INTO WorkOrder(Property,PONo,Workdate,totalamt,wknotes,invno,status) " & "VALUES(" & CProp & ", '" & CPO & "', " & Format(invdate, "\#yyyy\-mm\-dd\#") & ", " & curamt & ", """ & curnotes & """
Show full article (1.80Kb) · Show article thread
I am close to finishing and have I hope one last error The following returns an error strSQL = "INSERT INTO WorkOrder(Property,PONo,Workdate,totalamt,wknotes,invno,status)" & "VALUES(CProp,CPO,invdate,curamt,curnotes,nextinv,curstatus)" CurrentDb.Execute strSQL, dbFailOnError Response = acDataErrAdded Run Time Error 3061 Too few Parameters. Expected 7 I count seven in     

Group: microsoft.public.access · Group Profile · Search for Nextinv in microsoft.public.access
Author: Nylex
Date: Aug 16, 2008 16:00

Tks - that worked fine The fields are in the original code before I called the function In the function I put the debug.print statement and a stop line so I could see what answer it was giving Your solution cut a few liners of code of mine Tks "Douglas J. Steele" wrote: First, your function is written incorrectly: you're not returning a value from it, nor displaying one (which
Show full article (2.01Kb) · Show article thread
First, your function is written incorrectly: you're not returning a value from it, nor displaying one (which makes me wonder how you tested it and knew it returned correct answers!). Also, I don't see that you've declared variables NextID nor NextInv anywhere in the function. Function NewInvoice(LastInv As String) As String Dim nID As Integer nID = Val(Mid(LastInv, 2)) NewInvoice     

Group: microsoft.public.access · Group Profile · Search for Nextinv in microsoft.public.access
Author: Douglas J. Steele
Date: Aug 16, 2008 09:07

On Sat, 16 Aug 2008 06:44:01 -0700, Nylex wrote: I use a set routine in quite a few forms I have written the function and Have tested it and it always get the correct answer When I return from the function I can not find the answer This is how I call it NewInvoice (LastInv) Debug.Print InvDate, NextInv Stop Function NewInvoice(LastInv) Dim
Show full article (1.57Kb) · Show article thread
hi, Nylex wrote: > I use a set routine in quite a few forms > I have written the function and Have tested it and it always get the correct > answer > When I return from the function I can not find the answer A function has one return value represented by its function name. So you need to rewrite your function. > LastInv is a string and so is NextInv and NextID Always declare your your     

Group: microsoft.public.access · Group Profile · Search for Nextinv in microsoft.public.access
Author: Stefan Hoffmann
Date: Aug 16, 2008 08:26

Show full article (0.36Kb) · Show article thread
    

Group: microsoft.public.access · Group Profile · Search for Nextinv in microsoft.public.access
Author: Nylex
Date: Aug 16, 2008 08:03

Show full article (0.41Kb)
    

Group: microsoft.public.access · Group Profile · Search for Nextinv in microsoft.public.access
Author: Nylex
Date: Aug 16, 2008 07:29

Show full article (1.69Kb) · Show article thread
    

Group: microsoft.public.access · Group Profile · Search for Nextinv in microsoft.public.access
Author: Douglas J. Steele
Date: Aug 16, 2008 07:04

Show full article (1.30Kb) · Show article thread
    

Group: microsoft.public.access · Group Profile · Search for Nextinv in microsoft.public.access
Author: fredg
Date: Aug 16, 2008 07:03

Show full article (1.06Kb) · Show article thread
    

Group: microsoft.public.access · Group Profile · Search for Nextinv in microsoft.public.access
Author: Stefan Hoffmann
Date: Aug 16, 2008 06:56

Show full article (1.03Kb) · Show article thread
1 · 2 · next