Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by marcin2k

  1. marcin2k

    Group by null value error

    Ok got around it, changed the field to a string and it seemed to work fine with Cstr THanks for the ideas
  2. marcin2k

    Group by null value error

    Its a number field, i tried the IIF statement to check if its null and it does not do anything. ITs still displaying #Error inside the field ItemID since there is no record assoiciated to that specific order
  3. marcin2k

    Group by null value error

    Hello, I have two tables that I am combining in a query and grouping the data. Table1: OrderID Table2: OrderID OrderDesc ItemID ItemDesc My query has a relationship set up so that it displays all records from Table1 and only those...
  4. marcin2k

    Complex field updating involving VBA

    Solved the issue, here is the function I put into an update query for that given field: Function UpdateRack(intOrder As Integer, intItemNum As Integer) As String Dim db As Database Dim rst As Recordset Dim strRack As String strRack = "" Set db = CurrentDb Set rst =...
  5. marcin2k

    Complex field updating involving VBA

    I have two tables with a one to many relationship Table1: OrderNum Table2: OrderNum ItemNum ItemNum RackDesc RackDesc Table2 is populated automatically when someone scans a barcode for an order and a rack. I need to move that...
  6. marcin2k

    Filter out system files when displaying files in a listbox

    Thanks, I made a slight change I noticed that if I checked if an files attribute = 6 Then i did not display it and it worked cause those ended up being the hidden files
  7. marcin2k

    Filter out system files when displaying files in a listbox

    I am able to display all files from a folder into a listbox but I want to make it so that system or hidden files do not show up. How can i do this. Here is my code to display the files: Private Sub GetDir(sDrive As String) On Error Resume Next Dim strRowSource As String Dim crt Dim...
  8. marcin2k

    Query problem filtering based on another combo box

    Thanks for the help, adding & "" worked great
  9. marcin2k

    Query problem filtering based on another combo box

    I have two combo boxes and one is suppose to limit the records based on the other. So if I choose in my combo box called Combo1 "Red" I want to see all records which show something like "Red" in one of my fields called Field1. HEre is what I have now. Field1: Like...
  10. marcin2k

    Problem with querying a datefield

    I have noticed that if I just use =[Forms]![fForm1]![EndDate] it does not even display all results with the same date but displays all records instead
  11. marcin2k

    Problem with querying a datefield

    I have a query which has a field with a date (date type field). In the criteria I have put this statement: <=[Forms]![fForm1]![EndDate] EndDate is a calendar function. The problem is: For example if I pick the end date to be August 31st, 2005. It displays everything find except it does not...
  12. marcin2k

    Draw Lines from coordinates

    Thanks for the help, I actually found a Picture Box for VBA that someone has coded. It has the same commands that a regular picture box has.
  13. marcin2k

    Draw Lines from coordinates

    I have a string with a bunch of x and y coordinates. I was wondering is there anything in Access like there is a picture box in Visual Basic for CE so that I can just write Object.Line coordinates or Object.DrawLine coordinates I noticed I can do this on a report, but I need to do it on a form...
  14. marcin2k

    Picture Box question

    Hello, I am trying to decode a picture which I have x and y coordinates of lines. I am do this in Visual Basic 2005 since it has an option for a Picture Box and I use the .Line command to draw a bunch of lines which make up my picture. Is there any thing in Access that I can use which will...
  15. marcin2k

    Check if Time is within last hour

    Ya that worked great, do u know by any chance if there is a one liner for changing one data field in a table. Like i know Dlookup looks up what is in a field but I have a table with one Yes/No field and all i have to do is change it to a No. I know i can use RecordSet but trying to think of...

Part and Inventory Search

Back
Top