Recent content by RedSkies

  1. R

    Converting column data to rows

    Thanks Fofa, that's an approach I hadn't considered. But I still have the issue of the columns being dynamic. I never know how many there will be or what they'll be named when I import the spreadsheet. So I guess that means I'll still have to build the SQL on the fly. But now I need to figure...
  2. R

    Converting column data to rows

    I'm sure this has been discussed before but I can't seem to find any references to it. I have data imported from an Excel spreadsheet that contains data on the campaigns an agent is enrolled in and looks essentially like this: AgentID Campaign1 Campaign2 Campaign3... 12345 Yes...
  3. R

    Syntax for referring to a variable Field name

    I figured it out Never mind. The problem was that I was using Str to convert an integer to a string which apparently sticks in a space, i.e. The integer "1" evaluates to " 1" using Str. The solution is to use Format. Thanks again for your help everyone.
  4. R

    Syntax for referring to a variable Field name

    Thanks again Yes, you're right about the recordset. It should be rsImport.MoveNext. I've stepped through the code watching the variable values and am positive that the variable evaluates to the correct table field name. But for some reason, the code: .Fields(strSkillField) = strImpSkillSet...
  5. R

    Syntax for referring to a variable Field name

    Not in collection error Scott, thanks for your suggestion but when I try it, I get an "Item not found in this Collection" error. Function fAddSkills(strAgtID As String) Dim rsConvSkillSets As DAO.Recordset Dim strImpSkillSet As String Dim strImpPriority As String Dim strConvSkillSet As...
  6. R

    Syntax for referring to a variable Field name

    Thanks! Yup, you're right about setting the RS within the Loop - stoooopid! Dunno what I was thinking. ;) Thanks for your help. I'll give it a try.
  7. R

    Syntax for referring to a variable Field name

    I currently have a set of data describing skillsets for call center agents which is arranged as follows: Name Skillset Joe Blow Skill_A Joe Blow Skill_B Joe Blow Skill_C Jane Doe Skill_C Jane Doe Skill_D The user needs it converted to this format in order to bulk load it into another...
  8. R

    Preview vs printed report

    Thanks for responding John, thanks for your input. I guess I know what I need to do if the answer to my question is "yes" (use the acPrint parameter in the OpenReport cmd instead of acPreview). But it would be nice to know exactly how Access handles the whole process before I determine if it...
  9. R

    Preview vs printed report

    Quick question on how reports generate: If I open a report in "Preview" mode and then send it to the printer, does it have to re-run its base query and regenerate in order to print? If this is the case, would it be more efficient to open it in "Normal" mode so it goes directly to the default...
  10. R

    Can't create import specification in Access 2K

    Sometimes I really HATE Access! I'm trying to create an import specification for a comma-delimited text file in Access 2000. Seems simple enough, right? So far, from what I've read, the only way to do so in Acc2K is using the Advanced button in the Import/Export wizard. I've been through the...
  11. R

    Resetting page nums by group but getting 'Page N of N-1'??

    I've been using some of the suggestions I've found on this forum to reset the page numbers of a report by group. Everything seems to be paginating along just fine EXCEPT, the last page of the report always says Page 'n' of 'n-1'. For example, if my last group contains 4 pages, the last page of...
  12. R

    Filter listbox using multiple combo boxes

    There must be an easier way to do this than the way I'm going about it. I want to filter a list box with user selected values from 3 combo boxes. The user should have the option of selecting a value in one, many, all or none of the boxes. The way I've handled it in the past and the way I'm...
  13. R

    Show empty subreport as placeholder

    Never mind! I put this instead in the Detail_format of the Main report and it seems to work: Me!UnattachedLabelName.Visible = Not (Me!SubreportName.Report.HasData) The UnattachedLabelName control contains the text "No data entered yet"
  14. R

    Show empty subreport as placeholder

    I think I'm having a major brain fade or something but I can't figure this out. I've seen plenty of people asking how to get rid of the extra space left on a main report when a subreport has no data. That I can handle! What I want to do this time is retain the space on the main report and maybe...
  15. R

    Copying a password-protected BE in code

    Thanks for the input, guys I think I have it figured out though, just had to change the order a bit. Autoeng, you're correct: All users will have a local copy of the FE containing various queries and reports, but it will be locked down. That is, I'm not allowing anyone to have direct access to...
Back
Top Bottom