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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. ulteriormotif

    mysql query result into an array, used as criteria in next query

    Thanks pjadie! That improved the look of the array and got rid of the duplicate values. I guess I was effectively pulling an array into an array? Array result using mysql_fetch_assoc is now: Array ( [0] => Array ( [blkyr] => 1264 ) [1] => Array ( [blkyr] => 1293 ) [2] => Array ( [blkyr] =>...
  2. ulteriormotif

    mysql query result into an array, used as criteria in next query

    I have a series of queries that, according to a number of conditions submitted on a form, only ONE of the queries will execute. That's working fine. I then put the result of that query into an array. It's only one field that I want, but there will be a variable number of records returned. I...
  3. ulteriormotif

    ActiveChart.SetSourceData Source with variable data range

    *LOL* ok, well now I'm thoroughly confused... but I will make the effort to dissect what you're saying until I get it (the terminology is all new to me so I have to go very step by step).
  4. ulteriormotif

    ActiveChart.SetSourceData Source with variable data range

    PHV, yer wunnerful! It didn't work initially, because it didn't like the "A" notation in the first Cells(), but since A is a constant I just changed that to '1' and it worked. Complete code is now: Sub chartadjustment() ActiveSheet.ChartObjects("Chart 11").Activate...
  5. ulteriormotif

    ActiveChart.SetSourceData Source with variable data range

    Is it a question of where in the macro I'm putting the line? To test the above I put it directly above the 'end sub' line. Maybe it makes more sense to have it earlier in the macro?
  6. ulteriormotif

    ActiveChart.SetSourceData Source with variable data range

    Skip, that looks good to me, but throws an error: Run-time Error: 1004 Method 'Cells'of object '_Global' failed
  7. ulteriormotif

    ActiveChart.SetSourceData Source with variable data range

    PHV - in the same sheet - "DIAMETER REPORT" Thanks Skip - not quite what I need though (but I'm copying that syntax down for future use - thank you). Maybe an example to make it a bit clearer: Current value of C6 = 2 (2 data sets to graph) Start of range = A42 Data is arranged in columns...
  8. ulteriormotif

    ActiveChart.SetSourceData Source with variable data range

    Hiya. I have a spreadsheet which produces a pretty chart based on a bunch of data thrown at it from Access. The number of rows of data the chart needs to show varies, according to the selected output from Access. At the moment, with a fixed data range, the legend shows symbols for a full...
  9. ulteriormotif

    PHP Mail not working where MX hosted by different server?

    Cool, thanks sleipnir - I've got a support ticket in with my host to see if they can shed any light. Fingers crossed.
  10. ulteriormotif

    PHP Mail not working where MX hosted by different server?

    Thanks sleipnir214. I thought that might be the case. Along that localhost line, I have some further progress: Occurred to me that the new test members I had been trying to set up were using addresses at another of my sites, hosted on the same server as example.com. So have tried setting...
  11. ulteriormotif

    PHP Mail not working where MX hosted by different server?

    I have a website hosted on "SiteHost1", but the email is handled by "MailHost2" through an MX redirect. General email is working fine and dandy. The problem is that the PHP Mail script that I use to send emails to new users I have registered on the site is no longer working. In short emails...
  12. ulteriormotif

    get secondary field from combo box?

    :) Hiya TheAceMan1 hmmm.. could do. Would the user have to manually select from both columns? I can't have them increasing their data entry, plus the risk of errors is huge any time I give them any leeway. Or are you envisaging the second combo auto-populating from the first somehow?
  13. ulteriormotif

    get secondary field from combo box?

    Eureka! Found it. Turns out it's dead easy. In the text box you want to capture the hidden field in: =[comboboxname].Column(2) - where (2) is the number of the visible column you want to capture. ie, if the bound column [bin id] is set to zero width (which it is), then [bin weight] is...
  14. ulteriormotif

    get secondary field from combo box?

    One of my forms has a combo box for 'bin type', which has three fields in the combo box: bin id bin desc bin weight 'bin id' is the bound field, which is correct. However, I'd also like to be able to make use of the 'bin weight' field on the form. Specifically the form is recording the...
  15. ulteriormotif

    Pivot Table - show sum and percentage of same field side by side?

    Ken, yer a pearler, mate! (that's a good thing, btw). Thanks for that.
  16. ulteriormotif

    Pivot Table - show sum and percentage of same field side by side?

    That's it in a nutshell - I have a table where I want to show the sums of a list of items, but also show the percentage each of these items makes of the total. Now, I can achieve this simply by dragging the 'value' field into the data area twice - formatting one as 'sum' and one as 'percentage...
  17. ulteriormotif

    Trying to make it so that my Form loads when the database is opened

    To open a form when the database is opened, create a macro and save it as "autoexec". Macro Actions: Openform - select the form you want to open. Maximise
  18. ulteriormotif

    "This action will reset the current code in break mode" error

    Hi cdagenais Yep, actually we did find the solution. It was originating from a simple subquery in one of the queries this query was based on. The answer in the end was to simply make the subquery a saved query in its own right, and then include that in the next query up. Here's the thread...
  19. ulteriormotif

    Hi, I'm the Computer Guy

    Like you, nwdurcholz, I'm a jack of all trades in a position that grew because I was here. I 'invented' a title.. IT Specialist... primarily because we already have another 'specialist' in the company (totally unrelated field), so it wasn't an unfamiliar-type title to use, and it also avoided...
  20. ulteriormotif

    When the boss asks "so what's your budget to build this database?"

    willir - I suspect your sales rep has become my boss. I get that pretty regularly. :) I'm working on something of a template now that I hope will give me a firmer base to quote from. heh... and I suspect along the way it will open the bosses eyes a bit when he sees how many bits and pieces are...

Part and Inventory Search

Back
Top