Hi this should be simple -
I just need to refer to a variable in an SQL string in my VB code.
The string is -
rstUpdate.Open "SELECT * FROM [Customer Orders] WHERE [Cancel Booking] = False AND [Date Ordered] > #08-20-02# AND [Tour Date] > #" & Format(Date, "dd-mm-yy") &...
Can anyone point me to some kind of reference which points out the ground rules for the SQL syntax in an SQL string in Visual basic. It obviously differs from that you see in the SQL view of a standard Access Query grid.
The Access help function only has limited examples it would seem. My...
Hi,
does anyone know the correct syntax in an SQL string as part of the Recordset Open method to refer to a field on a form.
I currently have -
rstBookingsSchema.Open "SELECT * FROM BookingsSchema WHERE Date = " & Forms!BookingForm!Date & " ORDER BY Period", conn, 1...
First up I am a VB rookie.
I am writing a VB module which edits a group of records in a table based on some information entered on a form. I need to write a module as the manipulation/editing of the records is slightly complex.
My (simple) question is -
I need to select a group of records...
I think this might be complicated, but I am hoping it isn't.
Firstly, I have data that will need to be imported from a table in Microsoft Access. An example of the data fields is -
Employee Number Time Out Time In
161 07:00 06:00
84 08:00...
I have a Booking table (fields - Employee number, Date, Start time, Finish time) in which an employee enters a start and finish time for when they will be booking some equipment - eg Employee Number - 1, Date - 23/07/02, Start time - 10:00, Finish time - 18:00.
How would I get a query (Code??)...
This seems simple enough...but I don't know how to do it!
I have a query that selects records based on date criteria from a table called Bookings. The returned data can contain more than one record with the same Employee number (in the Employee Number field).
I want a query or form which...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.