I have various users inputting data into excel sheets which are then imported into a database. I need to prevent duplicates and for this I use a UQFld:[DateFld]&[TimeFld]&[Booking]&[OtherRef]etc
at the point of importing if there are any of the fields missing the data row is not imported. Once all fields are complete the append query will upload the data as long as the UQfld is not already there. This works fine except where a users PC is not in the same regional format as the Date portion is local etc i.e 1/Aug/2011 will be 01/08/2112 on some but 8/1/2012 or 2012/08/01 etc
this makes my UQFld not unique, and can allow duplicate uploads
I wish to format the date field part to a standard just for this purpose. I am looking for advise as to the best way
ie Format([DateFld],"dd/mm/yyyy") but would a better method be?
at the point of importing if there are any of the fields missing the data row is not imported. Once all fields are complete the append query will upload the data as long as the UQfld is not already there. This works fine except where a users PC is not in the same regional format as the Date portion is local etc i.e 1/Aug/2011 will be 01/08/2112 on some but 8/1/2012 or 2012/08/01 etc
this makes my UQFld not unique, and can allow duplicate uploads
I wish to format the date field part to a standard just for this purpose. I am looking for advise as to the best way
ie Format([DateFld],"dd/mm/yyyy") but would a better method be?